package com.gljx.web.service;

import com.gljx.web.Entity.FillingCardRecharge;

import java.util.List;
import java.util.Map;

public interface FillingCardRechargeService {

	List<FillingCardRecharge> selFillingCardRecharge(Map<String, Object> map);

	Double selFillingCardBeginBalance(Map<String, Object> map);

	Double selFillingCardBeginBalances(Map<String, Object> map);
	
	Map<String, Object> selectPageCount(String psql);

    Map<String, Object> selectPage(int pindex, String psql, int psize);
    
    String selectFnumber(String companyId);
    
    /**
     * 增加加油卡充值
     * @param fillingCardRecharge
     * @return
     */
    int addFillingCardRecharge(FillingCardRecharge fillingCardRecharge);
    
    /**
     * 删除加油卡充值
     * @param fid
     * @return
     */
    int deleteFillingCardRechargeByFid(String fid);
    
    /**
     * 根据fid查找加油卡充值信息
     * @param fid
     * @return
     */
    FillingCardRecharge selFillingCardRechargeByFid(String fid);
    
    /**
     * 修改加油卡充值信息
     * @param fillingCardRecharge
     * @return
     */
    int updateFillingCardRecharge(FillingCardRecharge fillingCardRecharge);

    /**
     * 查找加油卡充值 用于导出excel
     * @param companyId
     * @param fnumber
     * @param fdescription
     * @param beginTime
     * @param endTime
     * @return
     */
    List<FillingCardRecharge> selectFillingCardRecharge(String companyId,String fnumber,String fdescription ,String beginTime,String endTime);

}
